<!doctype html>
<html lang="en" id="index_register" v-cloak>
<head> 
    <meta charset="UTF-8">
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <title>爱的约定</title>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
    <link rel="stylesheet" href="lib/weui/dist/style/weui.min.css">
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/iconfont.css">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/index_register.css">
</head>
<body>
    <div class='common-header'>
        <!--<div class='left'>
            <a href="">
                <i class='iconfont icon-left'></i>
            </a>
        </div>-->
        <div class="middle">
            会员注册
        </div>
        <!--<div class="right">
            <a href="">
                <i class='iconfont icon-home1'></i>
            </a>
        </div>-->
    </div>
    <div class='shadow'></div>
    <div class='main'>
        <div class='controls'>
            <i class='iconfont icon-nicheng'></i>
            <input type="text" placeholder="请输入昵称" v-model="formObj.nickName">
        </div>
        <div class='controls'>
            <i class='iconfont icon-phone'></i>
            <input type="number" placeholder="请输入手机号码" v-model="formObj.phone">
        </div>
        <div class='controls'>
            <i class='iconfont icon-lock'></i>
            <input type="password" placeholder="请输入密码" v-model="formObj.passWord">
        </div>
        <div class='controls'>
            <i class='iconfont icon-lock'></i>
            <input type="password" placeholder="请再次输入密码" v-model="rePassword">
        </div>
        <div class='controls'>
            <i class='iconfont icon-order'></i>
            <input type="text" placeholder="请输入身份证号" v-model="formObj.idCard">
        </div>
        <div class='controls'>
            <i class='iconfont icon-paper-plane'></i>
            <input type="text" placeholder="请输入邀请码" v-model="formObj.code">
        </div>
        <div class='controls'>
            <i class='iconfont icon-lock'></i>
            <input type="number" placeholder="请输入验证码" v-model="formObj.yzcode">
            <a v-on:click="sendCaptcha()">{{smsAvailable?'获取验证码':smsSeconds}}</a>
        </div>
        <div class="choose-place clearfix">
            <label>所在组织</label><br>
            <select v-model="formObj.cuuid" v-on:change="loadArea('regionList',formObj.cuuid)">
                <option v-for="item in cityList" v-bind:value="item.id">{{item.name}}</option>
            </select>
            <select v-model="formObj.xuuid">
                <option v-for="item in regionList" v-bind:value="item.id">{{item.name}}</option>
            </select>
        </div>
        <!--<a class="forget-mm">
            忘记密码? 
        </a>-->
        <div class='controls controls2'><input type="checkbox" checked="checked" id="sfty">同意并接受<a href="agreement.html" style="color: #a3a3a3">《爱的约定用户注册协议》</a></div>
        <div class="gztx">
            邀请码不是必填，是作为认证会员的标志，认证会员能使用的功能更多。如果您没有邀请码可以注册完成后，完善您的基本资料、择偶条件、上传形象照提交给我们的管理员进行审核。审核通过后也将升级成邀请会员。审核过程我们会对您的身份信息进行公安数据比对，会保护大家的隐私，希望大家认真填写。
        </div>
        <a v-on:click="submit()" class='btn btn-origin'>提交</a>
        <a v-on:click="goPhoneBind()" class='btn btn-bind'>绑定已有账号</a>
        <!--<p>温馨提示：我们会发送一条验证码到您的手机以验证手机的有效性，该条短信免费。</p>
        <a  href=javascript:; class='btn btn-register'>
            <span>已有帐号？</span><i>请登录</i>
        </a>-->
    </div>

</body>
<script>var app = 'index_register';</script>
<script data-main="js/common/require_config" src="lib/requirejs/require.js"></script>
</html>